Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update dependency sentry_flutter to v8.10.0 #1423

Merged
merged 2 commits into from
Nov 15, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 15, 2024

This PR contains the following updates:

Package Type Update Change Pending
sentry_flutter (source) dependencies minor 8.9.0 -> 8.10.0 8.10.1

Release Notes

getsentry/sentry-dart (sentry_flutter)

v8.10.0

Compare Source

Features
  • Emit transaction.data inside contexts.trace.data (#​2284)

  • Blocking app starts span if "appLaunchedInForeground" is false. (Android only) (#​2291)

  • Replay: user-configurable masking (redaction) for widget classes and specific widget instances. (#​2324)
    Some examples of the configuration:

    await SentryFlutter.init(
      (options) {
        ...
        options.experimental.replay.mask<IconButton>();
        options.experimental.replay.unmask<Image>();
        options.experimental.replay.maskCallback<Text>(
            (Element element, Text widget) =>
                (widget.data?.contains('secret') ?? false)
                    ? SentryMaskingDecision.mask
                    : SentryMaskingDecision.continueProcessing);
      },
      appRunner: () => runApp(MyApp()),
    );

    Also, you can wrap any of your widgets with SentryMask() or SentryUnmask() widgets to mask/unmask them, respectively. For example:

     SentryUnmask(Text('Not secret at all'));
  • Support captureFeedback (#​2230)

    • Deprecated Sentry.captureUserFeedback, use captureFeedback instead.
    • Deprecated Hub.captureUserFeedback, use captureFeedback instead.
    • Deprecated SentryClient.captureUserFeedback, use captureFeedback instead.
    • Deprecated SentryUserFeedback, use SentryFeedback instead.
  • Add SentryFeedbackWidget (#​2240)

    Navigator.push(
      context,
      MaterialPageRoute(
        builder: (context) => SentryFeedbackWidget(associatedEventId: id),
        fullscreenDialog: true,
      ),
    );
  • Add screenshot to SentryFeedbackWidget (#​2369)

    • Use SentryFlutter.captureScreenshot to create a screenshot attachment
    • Call SentryFeedbackWidget with this attachment to add it to the user feedback
    final id = await Sentry.captureMessage('UserFeedback');
    final screenshot = await SentryFlutter.captureScreenshot();
    
    Navigator.push(
      context,
      MaterialPageRoute(
        builder: (context) => SentryFeedbackWidget(
            associatedEventId: id,
            screenshot: screenshot,
        ),
        fullscreenDialog: true,
      ),
    );
Enhancements
  • Avoid sending too many empty client reports when Http Transport is used (#​2380)
  • Cache parsed DSN (#​2365)
  • Handle backpressure earlier in pipeline (#​2371)
    • Drops max un-awaited parallel tasks earlier, so event processors & callbacks are not executed for them.
    • Change by setting SentryOptions.maxQueueSize. Default is 30.
  • Use native spotlight integrations on Flutter Android, iOS, macOS (#​2285)
  • Improve app start integration (#​2266)
    • Fixes pendingTimer during tests (#​2103)
    • Fixes transaction slows app start (#​2233)
  • Only store slow and frozen frames for frame delay calculation (#​2337)
  • Add ReplayIntegration to the integrations list on events when replay is enabled. (#​2349)
Fixes
  • App lag with frame tracking enabled when span finishes after a long time (#​2311)
  • Only start frame tracking if we receive valid display refresh data (#​2307)
  • Rounding error used on frames.total and reject frame measurements if frames.total is less than frames.slow or frames.frozen (#​2308)
  • iOS replay integration when only onErrorSampleRate is specified (#​2306)
  • Fix TTID timing issue (#​2326)
  • TTFD fixes
    • Start missing TTFD for root screen transaction (#​2332)
    • Match TTFD to TTID end timespan if TTFD is unfinished when user navigates to another screen (#​2347)
    • TTFD measurements should only be added for successful TTFD spans (#​2348)
    • Error when calling SentryFlutter.reportFullyDisplayed() twice (#​2339)
  • Accessing invalid json fields from fetchNativeAppStart should return null (#​2340)
Deprecate
Dependencies

Configuration

📅 Schedule: Branch creation - "after 6pm every weekday,every weekend" in timezone Australia/Sydney, Automerge - "after 6pm every weekday,every weekend" in timezone Australia/Sydney.

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot enabled auto-merge (squash) November 15, 2024 13:12
@renovate renovate bot merged commit 45d88fe into main Nov 15, 2024
18 checks passed
@renovate renovate bot deleted the renovate/sentry_flutter-8.x branch November 15, 2024 13:27
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 16, 2024
@zeshuaro
Copy link
Owner

🎉 This PR is included in version 2.2.10 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant